package com.kkks.spring_rest.tick.model;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * AbstractWhoSkuRelationBak entity provides the base persistence definition of
 * the WhoSkuRelationBak entity. @author MyEclipse Persistence Tools
 */
@MappedSuperclass
public abstract class AbstractWhoSkuRelationBak implements java.io.Serializable {

	// Fields

	private Integer recId;
	private Integer goodsId;
	private String skuId;
	private String skuValue;
	private Double propPrice;
	private Integer gmtCreated;
	private Integer gmtModify;
	private Boolean status;

	// Constructors

	/** default constructor */
	public AbstractWhoSkuRelationBak() {
	}

	/** full constructor */
	public AbstractWhoSkuRelationBak(Integer goodsId, String skuId,
			String skuValue, Double propPrice, Integer gmtCreated,
			Integer gmtModify, Boolean status) {
		this.goodsId = goodsId;
		this.skuId = skuId;
		this.skuValue = skuValue;
		this.propPrice = propPrice;
		this.gmtCreated = gmtCreated;
		this.gmtModify = gmtModify;
		this.status = status;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "rec_id", unique = true, nullable = false)
	public Integer getRecId() {
		return this.recId;
	}

	public void setRecId(Integer recId) {
		this.recId = recId;
	}

	@Column(name = "goods_id", nullable = false)
	public Integer getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	@Column(name = "sku_id", nullable = false)
	public String getSkuId() {
		return this.skuId;
	}

	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}

	@Column(name = "sku_value", nullable = false)
	public String getSkuValue() {
		return this.skuValue;
	}

	public void setSkuValue(String skuValue) {
		this.skuValue = skuValue;
	}

	@Column(name = "prop_price", nullable = false, precision = 10)
	public Double getPropPrice() {
		return this.propPrice;
	}

	public void setPropPrice(Double propPrice) {
		this.propPrice = propPrice;
	}

	@Column(name = "gmt_created", nullable = false)
	public Integer getGmtCreated() {
		return this.gmtCreated;
	}

	public void setGmtCreated(Integer gmtCreated) {
		this.gmtCreated = gmtCreated;
	}

	@Column(name = "gmt_modify", nullable = false)
	public Integer getGmtModify() {
		return this.gmtModify;
	}

	public void setGmtModify(Integer gmtModify) {
		this.gmtModify = gmtModify;
	}

	@Column(name = "status", nullable = false)
	public Boolean getStatus() {
		return this.status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

}